using System.Collections.Generic;
using BikeSystem.DAL;
using BikeSystem.Models;
namespace BikeSystem.BLL
{
    public  class LoginHistoryManager
    {

        LoginHistoryService historyService = new LoginHistoryService();
        public void InsertHistory(LoginHistory history)
        {
            historyService.InsertHistory(history);
        }
        public void UpdateOverTime(int loginHistoryId)
        {
            historyService.UpdateOverTime(loginHistoryId);
        }

        public IList<LoginHistory> GetHistories()
        {
            return historyService.GetHistories();
        }


    }
}
